using AppToolKit.Model.Validation;
using System;
namespace AppToolKit.Model
{
	[Serializable]
	public abstract class BusinessObjectBase<T> : IBusinessObject<T>
	{
		public virtual void Initialize(T data)
		{
		}
		public virtual ValidateResultSet Valid(T data, ModifiedBehavior bechavior)
		{
			return new ValidateResultSet();
		}
		public virtual void BeforeSave(T data)
		{
		}
		public virtual void AfterSave(T data)
		{
		}
		public virtual void BeforeUpdate(T data)
		{
		}
		public virtual void AfterUpdate(T data)
		{
		}
		public virtual void BeforeDelete(T data)
		{
		}
		public virtual void AfterDelete(T data)
		{
		}
	}
}
